clear all
srbct_train_20=load('pick7_trn_nrm_nrp_lab_trp.txt');
srbct_train_20=srbct_train_20';
srbct_test_20=load('pick7_tes_nrm_nrp_lab_trp.txt');
srbct_test_20=srbct_test_20';
[trainn,trainm]=size(srbct_train_20);
[testn,testm]=size(srbct_test_20);
EWS_TR=23;  %red
BL_TR=8;    %blue
NB_TR=12;   %green
RMS_TR=20;  %black
EWS_TE=6;
BL_TE=3;
NB_TE=6;
RMS_TE=5;
trainn=trainn-4;
testn=testn-4;

for i = 1:trainn
    figure (i)
    hold on;
    for j = 1:trainm
        if (j<=23)
            plot(j,srbct_train_20(i,j),'r.');
        elseif (j<=31) 
            if (j>23)
                plot(j,srbct_train_20(i,j),'b.');
            end
        elseif (j<=43) 
            if (j>31)
                plot(j,srbct_train_20(i,j),'g.');
            end
        else
            plot(j,srbct_train_20(i,j),'k.');
        end
    end
    hold off
end
hold off;

% figure (3)
% hold on;
% for i = 1:testn
%     for j = 1:testm
%         if (j<=23)
%             plot(i,srbct_test_20(i,j),'r.');
%         elseif (j<=31) 
%             if (j>23)
%                 plot(i,srbct_test_20(i,j),'b.');
%             end
%         elseif (j<=43) 
%             if (j>31)
%                 plot(i,srbct_test_20(i,j),'g.');
%             end
%         else
%             plot(i,srbct_test_20(i,j),'k.');
%         end
%     end
% end
% hold off;
